package com.avantis.admin.config.shiro;

import org.apache.shiro.authc.AuthenticationToken;

public class JwtToken implements AuthenticationToken {

    private String principal;

    private String password;

    public JwtToken(String principal, String password) {
        this.principal = principal;
        this.password = password;
    }

    @Override
    public Object getPrincipal() {
        return this.principal;
    }

    @Override
    public Object getCredentials() {
        return this.password;
    }
}
